package com.example.demo.controller;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author fanhb on 2020/8/7
 * @desc xxxx
 */
@Document(collection = "Channel")
public class ChannelVO {
    @Id
    private String id;
    @ApiModelProperty("姓名")
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
